package com.front.managementfront.driver.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2021-04-22
 */
@ApiModel(description = "司机")
public class HktsDriver extends Model<HktsDriver> {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private String id;
    @ApiModelProperty(value = "创建者")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "删除标识")
    private Integer delFlag;
    @ApiModelProperty(value = "修改者")
    private String updateBy;
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "认证状态")
    private String approval;
    @ApiModelProperty(value = "是否为队长")
    private String isCaptain;
    @ApiModelProperty(value = "手机")
    private String mobile;
    @ApiModelProperty(value = "密码强度")
    private String passStrength;
    @ApiModelProperty(value = "密码")
    private String passWord;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "用户名")
    private String userName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getApproval() {
        return approval;
    }

    public void setApproval(String approval) {
        this.approval = approval;
    }

    public String getIsCaptain() {
        return isCaptain;
    }

    public void setIsCaptain(String isCaptain) {
        this.isCaptain = isCaptain;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassStrength() {
        return passStrength;
    }

    public void setPassStrength(String passStrength) {
        this.passStrength = passStrength;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public static final String ID = "id";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String DEL_FLAG = "del_flag";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

    public static final String APPROVAL = "approval";

    public static final String IS_CAPTAIN = "is_captain";

    public static final String MOBILE = "mobile";

    public static final String PASS_STRENGTH = "pass_strength";

    public static final String PASS_WORD = "pass_word";

    public static final String STATUS = "status";

    public static final String USER_NAME = "user_name";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HktsDriver{" +
                ", id=" + id +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", approval=" + approval +
                ", isCaptain=" + isCaptain +
                ", mobile=" + mobile +
                ", passStrength=" + passStrength +
                ", passWord=" + passWord +
                ", status=" + status +
                ", userName=" + userName +
                "}";
    }
}
